class DbConnect():
    def big_data_conn(self):
        """连接线上数据库"""
        import pymysql
        big_conn = pymysql.connect(host="121.4.69.146", user='root', password='xhhg@2020', port=3306,
                                   db="big_data",
                                   use_unicode=True, charset='utf8')
        return big_conn

    def system_db(self):
        """连接系统开发库"""
        import pymysql
        sys_db = pymysql.connect(host='112.125.25.114', port=3306, user="python", password="pythonselect",
                                 database="mykhadmin")
        return sys_db
